package com.app.oral.model

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import java.math.BigDecimal

@JsonIgnoreProperties(ignoreUnknown = true)
data class WordAnalysis(
    val index: Int,
    val word: String,
    val referenceWord: String,
    val matchTag: Int,
    val matchStatus: String,
    val isCorrect: Boolean
)

@JsonIgnoreProperties(ignoreUnknown = true)
data class WordStatistics(
    val total: Int,
    val correct: Int,
    val wrong: Int,
    val missing: Int
)

@JsonIgnoreProperties(ignoreUnknown = true)
data class WordMatches(
    val wordAnalysis: List<WordAnalysis>,
    val statistics: WordStatistics,
    val accuracy: Int
)

@JsonIgnoreProperties(ignoreUnknown = true)
data class ExpressionScoreDetails(
    val accuracy: BigDecimal? = null,
    val fluency: BigDecimal? = null,
    val completeness: BigDecimal? = null,
    val suggestedScore: BigDecimal? = null
)

